package com.atguigu.boot.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import lombok.extern.slf4j.Slf4j;

@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造器
@Data//get,set方法
@Slf4j//日志
//@EqualsAndHashCode
public class User {
    private String name;
    private Integer age;
    public String handle(){
        log.info("请求进来了");
        return name;
    }
}
